import axios from 'axios'

axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'

const request = axios.create({
    baseURL: '/api', // 设置后端API的基础URL
    timeout: 10000
})
export default request
